package com.beamfield.dao.device;

import com.beamfield.model.DeviceExit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceExitMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceExit record);

    int insertSelective(DeviceExit record);

    DeviceExit selectByPrimaryKey(Long id);
    DeviceExit selectByPrimaryKey2(@Param("inbound_id") Long id);

    int updateByPrimaryKeySelective(DeviceExit record);

    int updateByPrimaryKey(DeviceExit record);

    List<DeviceExit> selectBybeamid(@Param("offset")Long offset,@Param("limit") int limit, @Param("recordSource") String recordSource, @Param("beamId") long beamId);

    int countBybeamid(@Param("recordSource") String recordSource, @Param("beamId") long beamId);
}